package com.smart.community.emergency;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import com.smart.community.emergency.config.EmergencyFeignConfig;

/**
 * 紧急求助服务启动类
 * @author smart-community
 */
@SpringBootApplication(scanBasePackages = {"com.smart.community.emergency", "com.smart.community.commons"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.smart.community.feign", defaultConfiguration = EmergencyFeignConfig.class)
public class EmergencyApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(EmergencyApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  紧急求助服务启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
